package com.cssy.xxkj.logic.dao;

import java.util.List;
import java.util.Map;

import com.cssy.xxkj.logic.entity.LogicAllocationItemDO;
import com.plat.exception.SyBaseException;

public interface LogicAllocationItemDAO extends LogicBizDAO<LogicAllocationItemDO> {

	/**
     * 插入数据
     * @param logicAllocationItemDO
     * @return 插入数据的主键
     */
    public String insertLogicAllocationItemDO(LogicAllocationItemDO logicAllocationItemDO);

    /**
     * 统计记录数
     * @param logicAllocationItemDO
     * @return 查出的记录数
     */
    public Integer countLogicAllocationItemDOByExample(LogicAllocationItemDO logicAllocationItemDO);

    /**
     * 更新记录
     * @param logicAllocationItemDO
     * @return 受影响的行数
     */
    public Integer updateLogicAllocationItemDO(LogicAllocationItemDO logicAllocationItemDO);

    /**
     * 获取对象列表
     * @param logicAllocationItemDO
     * @return 对象列表
     */
    public List<LogicAllocationItemDO> findListByExample(LogicAllocationItemDO logicAllocationItemDO);
    
    public List<LogicAllocationItemDO> findListByMap(Map<String, Object> paramMap)throws SyBaseException;

    /**
     * 根据主键获取logicAllocationItemDO
     * @param id
     * @return logicAllocationItemDO
     */
    public LogicAllocationItemDO findLogicAllocationItemDOByPrimaryKey(String id);

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicAllocationItemDOByPrimaryKey(String id);
}
